import { http } from '@/utils/http'

/**
 * 发送短信
 */
export const sendCodeApi = (params: { mobile: string; event: string }) => {
  return http({
    method: 'POST',
    url: '/api/sms/send',
    data: params,
  })
}
